package com.soshalboard.remote;

import java.util.HashMap;
import java.util.Map;

import com.soshalboard.persistence.domain.Session;

public class SessionManager {
	
	public SessionManager(){}

	private Map<String, Session> sessionMap = new HashMap<String, Session>();

	public Map<String, Session> getSessionMap() {
		return sessionMap;
	}

	public void setSessionMap(Map<String, Session> sessionMap) {
		this.sessionMap = sessionMap;
	}
	
	public void setSession(String sessionId, Session session) {
		this.sessionMap.put(sessionId, session);
	}	
}
